package com.jeejam.storage.pojo;

import com.jeejam.framework.base.pojo.BasePo;

import java.util.ArrayList;
import java.util.List;

public class Depot  extends BasePo {
    private Integer id;

    private String code;

    private String name;

    private String location;
    
    private String address;

    private Integer parentId;
    
    private List<Depot> children = new ArrayList<Depot>();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

	public List<Depot> getChildren() {
		return children;
	}

	public void setChildren(List<Depot> children) {
		this.children = children;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


    
}